//
// Created by 52499 on 2022/8/26.
//

#ifndef JONKINPA_RESULTJUDGE_H
#define JONKINPA_RESULTJUDGE_H

#include "vector"
#include "Poker.h"

class ResultJudge {

    static bool royalStraightFlush(vector<Poker> v);

    static bool straightFlush(vector<Poker> v);

    static bool fourOfAKind(vector<Poker> v);

    static bool fullHouse(vector<Poker> v);

    static bool flush(vector<Poker> v);

    static bool straight(vector<Poker> v);

    static bool threeOfAKind(vector<Poker> v);

    static bool twoPair(vector<Poker> v);

    static bool onePair(vector<Poker> v);

    static vector<int> toInt(vector<Poker> v);

public:
    static int judge(vector<Poker> v);
};


#endif //JONKINPA_RESULTJUDGE_H
